package com.smartcommunity.dao.vehicle;

import com.smartcommunity.entity.village.SixStatisticsEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


@Mapper
public interface VehicleDao {

    /**
     * @param recordMap
     * @return
     * @Description: 查询车辆信息
     */
    int findVehicleListCount(Map<String, Object> recordMap);

    List<SixStatisticsEntity> vehicleCountGroupByVillage();

    void updateVehicleByCardNo(Map<String, Object> recordMap);
    
    void updateVehicleByPeopleId(Map<String, Object> recordMap); 

    Integer getVehicleCount();
    
    void deleteVehicleByCredentialNos(@Param("credentialNos")List<String> credentialNos);
}
